<?php 
class TDropDownField extends TTemplateControl{
	public function getLabel() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('Label');
    }
	public function getDropDownList() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('DropDownList');
    }
	public function setSkinID($value){
		$this->DropDownList->SkinID = $value;
		$this->Label->SkinID = $value;
	}
	public function setLabel($value){
		$this->Label->Text = $value;
	}
	public function setDataSource($value){
		$this->DropDownList->DataSource = $value;
	}
}
?>